//
//  SBSleepScrollView.h
//  TYCyclePagerViewDemo
//
//  Created by 黄建华 on 2018/1/16.
//  Copyright © 2018年 tany. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TYCyclePagerView.h"
#import "SleepTYCyclePagerViewCell.h"
#import "JLRingChart.h"

@interface SBSleepScrollView : UIView <TYCyclePagerViewDataSource, TYCyclePagerViewDelegate ,UIScrollViewDelegate>

@property (nonatomic, strong) TYCyclePagerView *pagerView;
@property (nonatomic, strong) NSMutableArray *datas;
@property (nonatomic, assign) NSInteger currentMoveIndex;
@property (nonatomic, strong) UIScrollView *labelScrollView;

@property (nonatomic, strong) UILabel *dateLabel;
@property (nonatomic, assign) NSInteger updateIndex;

@property (nonatomic, strong) UIImageView *imageV;
@property (nonatomic, strong) UILabel *type;

@property (nonatomic, strong) UILabel *calorLabel;
@property (nonatomic, strong) UIImageView *imageV1;
@property (nonatomic, strong) UILabel *info1;

@property (nonatomic, strong) UILabel *distanceLabel;
@property (nonatomic, strong) UIImageView *imageV2;
@property (nonatomic, strong) UILabel *info2;

- (void)loadDataWithModel:(FriendModel *)model;

@end
